package com.ruoyi.huoyun.message.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对货主的评价对象 to_consignor_evaluate
 *
 * @author mj
 * @date 2021-11-29
 */
public class ToConsignorEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识数据库 */
    private Integer id;

    /** 装货便携性 */
    @Excel(name = "装货便携性")
    private Integer loadPortability;

    /** 卸货便携性 */
    @Excel(name = "卸货便携性")
    private Integer unloadPortability;

    /** 货主的态度 */
    @Excel(name = "货主的态度")
    private Integer congisnorManner;

    /** 评价的司机姓名 */
    @Excel(name = "评价的司机姓名")
    private String evaluateDriverName;

    /** 被评价货主id */
    @Excel(name = "被评价货主id")
    private String consignorId;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 运单id */
    @Excel(name = "运单id")
    private String waybillId;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setLoadPortability(Integer loadPortability)
    {
        this.loadPortability = loadPortability;
    }

    public Integer getLoadPortability()
    {
        return loadPortability;
    }
    public void setUnloadPortability(Integer unloadPortability)
    {
        this.unloadPortability = unloadPortability;
    }

    public Integer getUnloadPortability()
    {
        return unloadPortability;
    }
    public void setCongisnorManner(Integer congisnorManner)
    {
        this.congisnorManner = congisnorManner;
    }

    public Integer getCongisnorManner()
    {
        return congisnorManner;
    }
    public void setEvaluateDriverName(String evaluateDriverName)
    {
        this.evaluateDriverName = evaluateDriverName;
    }

    public String getEvaluateDriverName()
    {
        return evaluateDriverName;
    }
    public void setConsignorId(String consignorId)
    {
        this.consignorId = consignorId;
    }

    public String getConsignorId()
    {
        return consignorId;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setWaybillId(String waybillId)
    {
        this.waybillId = waybillId;
    }

    public String getWaybillId()
    {
        return waybillId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loadPortability", getLoadPortability())
            .append("unloadPortability", getUnloadPortability())
            .append("congisnorManner", getCongisnorManner())
            .append("evaluateDriverName", getEvaluateDriverName())
            .append("consignorId", getConsignorId())
            .append("time", getTime())
            .append("waybillId", getWaybillId())
            .toString();
    }
}
